/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package polytech.bda;

import java.io.*;
import java.util.Scanner;

/**
 *
 * @author ramzy
 */
public class IOManager {

    static int readInt(String str) throws IOException {
        IOManager.write(str);
        System.out.println();
        BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
        int i = Integer.parseInt(entree.readLine());
        return i;
    }

    static long readLong(String str) throws IOException {
        IOManager.write(str);
        System.out.println();
        BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
        long i = Long.parseLong(entree.readLine());
        return i;
    }

    static float readFloat(String str) throws IOException {
        IOManager.write(str);
        System.out.println();
        BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
        float i = Float.parseFloat(entree.readLine());
        return i;
    }

    static double readDouble(String str) throws IOException {
        IOManager.write(str);
        System.out.println();
        BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
        double i = Double.parseDouble(entree.readLine());
        return i;
    }

    static String readString(String str) throws IOException {
        IOManager.write(str);
        System.out.println();
        BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
        String i = entree.readLine();
        return i;
    }

    static char readChar(String str) throws IOException {
        IOManager.write(str);
        System.out.println();
        BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
        String i = entree.readLine();
        char j = i.charAt(0);
        return j;
    }

    public static void write(String str) {
        System.out.print(":~$> "+str + ":_");
        System.out.flush();
    }
    public static void writeln(String str) {
        System.out.println(str + "\n");
        System.out.flush();
    }
    public static void writeTitle(String str) {
        System.out.println("#################["+str + "]#################\n");
        System.out.flush();
    }
    public static void writeEndLine() {
        System.out.println("################################################\n");
        System.out.flush();
    }

}
